home *** CD-ROM | disk | FTP | other *** search
/ Chip 2006 June (Extra) / CHIP 2006-06.3.iso / program / opensource / clamav-devel.exe / contrib / Windows / options.cpp < prev    next >
Encoding:
C/C++ Source or Header  |  2006-05-16  |  1.7 KB  |  61 lines

  1. // options.cpp : implementation file
  2. //
  3.  
  4. /*
  5.  *  Copyright (C) 2004 Nigel Horne <njh@bandsman.co.uk>
  6.  *
  7.  *  This program is free software; you can redistribute it and/or modify
  8.  *  it under the terms of the GNU General Public License as published by
  9.  *  the Free Software Foundation; either version 2 of the License, or
  10.  *  (at your option) any later version.
  11.  *
  12.  *  This program is distributed in the hope that it will be useful,
  13.  *  but WITHOUT ANY WARRANTY; without even the implied warranty of
  14.  *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  15.  *  GNU General Public License for more details.
  16.  *
  17.  *  You should have received a copy of the GNU General Public License
  18.  *  along with this program; if not, write to the Free Software
  19.  *  Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
  20.  *  MA 02110-1301, USA.
  21.  */
  22. #include "stdafx.h"
  23. #include "clamav.h"
  24.  
  25. #ifdef _DEBUG
  26. #undef THIS_FILE
  27. static char BASED_CODE THIS_FILE[] = __FILE__;
  28. #endif
  29.  
  30. /////////////////////////////////////////////////////////////////////////////
  31. // COptions dialog
  32.  
  33.  
  34. COptions::COptions(CWnd* pParent /*=NULL*/)
  35.     : CDialog(COptions::IDD, pParent)
  36. {
  37.     //{{AFX_DATA_INIT(COptions)
  38.     m_recursive = TRUE;
  39.     m_quarantineDir = _T("");
  40.     //}}AFX_DATA_INIT
  41. }
  42.  
  43. void COptions::DoDataExchange(CDataExchange* pDX)
  44. {
  45.     CDialog::DoDataExchange(pDX);
  46.     //{{AFX_DATA_MAP(COptions)
  47.     DDX_Check(pDX, IDC_RECURSIVE, m_recursive);
  48.     DDX_Text(pDX, IDC_QUARANTINE, m_quarantineDir);
  49.     //}}AFX_DATA_MAP
  50. }
  51.  
  52.  
  53. BEGIN_MESSAGE_MAP(COptions, CDialog)
  54.     //{{AFX_MSG_MAP(COptions)
  55.     //}}AFX_MSG_MAP
  56. END_MESSAGE_MAP()
  57.  
  58.  
  59. /////////////////////////////////////////////////////////////////////////////
  60. // COptions message handlers
  61.